package model.server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Map;

import model.AuctionPublic;
import model.exception.InvalidAuctionIDException;
import model.exception.InvalidPriceException;
import model.exception.UnavailableAuctionException;

public interface BuyerInterface extends Remote {

	public Map<Integer, AuctionPublic> listAuctionsPublic() throws RemoteException;

	public void bid(int auctionID, int price, String name, String email) throws RemoteException, InvalidAuctionIDException,
			UnavailableAuctionException, InvalidPriceException;
}
